package com.lyl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lyl.domain.SysMenu;

import java.util.List;


/**
 * @author lylbell
 * @date 2021-06-22 13:31
 */
    
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 通过用户id查询菜单
     * @param userId
     * @return
     */
    List<SysMenu> getMenusByUserId(Long userId);
}